package com.example.hotelsystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author Lee
 * @since 2020-10-14
 */
@Data
@ApiModel(value="RoomType对象", description="")
public class RoomType implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "房间类型id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "房间类型")
    private String type;

    @ApiModelProperty(value = "房价价格")
    private Double price;

    @ApiModelProperty(value = "相关图片")
    private String image;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "逻辑删除")
    private Integer isDelete;

    @TableField(exist = false)
    private List<String> imageList;
}
